from Sensor import *

class Edificio:
	def __init__ (self, num, pos, Sens):
		self.__num = num
		self.__pos = pos
		self.edificios = []
		self.Sen = Sensor(Sens)
		self.edificios.append([self.__num, self.__pos, self.Sen.RecolectorSensor()])
		
	def setNum (self, num):
		self.__num = num
	
	def getNum (self):
		return self.__num

	def setPos (self, pos):
		self.__pos = pos
	
	def getPos (self):
		return self.__pos
		
	def agregarNuevoEdificio (self, sens):
		self.sen = Sensor(sens)
		self.edificios.append([self.getNum(), self.getPos(), self.sen.RecolectorSensor()])
	
	def mostarEdificios (self):
		for i in (self.edificios):
			return i



	
